package com.sspro.simplertmp.core;

/**
 * 视频参数类
 */
public class VideoProfile {

    /**
     * 传入需要开启的相机ID, 默认后置相机
     */
    public int cameraId;

    /**
     * 帧率
     */
    public int fps;

    /**
     * 预览宽度
     */
    public int preWidth;

    /**
     * 预览高度
     */
    public int preHeight;

    public VideoProfile() {}

    public VideoProfile(int cameraId, int fps, int preWidth, int preHeight) {
        this.cameraId = cameraId;
        this.fps = fps;
        this.preWidth = preWidth;
        this.preHeight = preHeight;
    }
}
